package com.yuyou.train.user.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.yuyou.train.service.api.user.dto.UserMedalCategoryDTO;
import com.yuyou.train.service.api.user.entity.UserMedalCategory;
import com.yuyou.train.util.bean.Pagination;

@Mapper
public interface UserMedalCategoryMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserMedalCategory record);

    UserMedalCategoryDTO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserMedalCategory record);
    
    List<UserMedalCategoryDTO> findMedalCategoryPageList(Pagination<UserMedalCategoryDTO> p);
    
    int findMedalCategoryPageCount(Pagination<UserMedalCategoryDTO> p);

    List<UserMedalCategory> findMedalCategoryList();
}